package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmCompanyDept;
import com.aijk.ehm.model.EhmCompanyDeptExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmCompanyDeptMapper {
    int countByExample(EhmCompanyDeptExample example);

    int deleteByExample(EhmCompanyDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmCompanyDept record);

    int insertSelective(EhmCompanyDept record);

    List<EhmCompanyDept> selectByExample(EhmCompanyDeptExample example);

    EhmCompanyDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmCompanyDept record, @Param("example") EhmCompanyDeptExample example);

    int updateByExample(@Param("record") EhmCompanyDept record, @Param("example") EhmCompanyDeptExample example);

    int updateByPrimaryKeySelective(EhmCompanyDept record);

    int updateByPrimaryKey(EhmCompanyDept record);
}